<!-- src/views/home/index.vue -->
<script lang="ts" setup>
import { useCounterStore } from '@/stores/counter'
const store = useCounterStore()
console.log(store)
</script>

<template>
  <div>
    系统首页
    {{ store.count }}
    <button @click="store.increment(5)">加5</button>
    <button @click="store.decrement(10)">减10</button>
  </div>
</template>
